package com.blockmeta.bbs.overallserviceapplication.pojo;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by author on 2018/1/11.
 */

public class ActiveListPOJO {

    private List<ListBean> list;
    @SerializedName("special_list")
    private List<ListBean> specialList;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public List<ListBean> getSpecialList() {
        return specialList;
    }

    public static class ListBean implements Parcelable {

        /**
         * fid : 118
         * tid : 41573
         * title : 【火币全国行 成都站】来现场实现赚一个亿的小目标[四川省成都市]
         * authorid : 9057
         * author : 火币
         * lastpost : 1415005362
         * lastposter : 火币
         * getViews : 303
         * replies : 0
         * displayorder : 0
         * post_date : 1472882400
         * type : 4
         * content : 精选现场照片新鲜出炉！见置顶评论——————————————————————————————————新的投资时代已经来临，比特币等数字货币作为投资品愈发受到人们的青睐。2016年区块链技术热度持续升温，全球央行、金融机构和巨头抢先布局区块链。火币全国行活动，我们相聚十大城市，让更多人了解比特币和背后的区块链技术。活动汇集炒币大咖、投资专家和区块链专家，为大家分享最具实操性的投资经验，讲解比特币和区块链的应用知识。现已举办两场，现场人员爆棚，收获颇丰。现在第三站成都站已正式开启报名！免费！免费！免费！时间：2016年9月3日地点：四川·成都活动议程14:00-14:30李志阔：小白也能搞懂比特币和区块链14:30-15:00朱嘉伟：火币创始团队与你面对面15:00-15:20茶歇时间，答疑解惑15:20-15:50王皓璞：如何通过K线准确分析行情15:50-16:20白洪日：比特币产业链发展现状揭秘16:20-16:40比特币抽奖16:40-17:00合影，自由交流嘉宾简介主办方合作单位活动地点四川省成都市高新区科华南路天久北巷南熙里商业中心D座402淡颐会所高德导航：淡颐地铁：1号线高新站，步行10分钟公交：天环街天久北街口站往期回顾（点击图片了解往期详情）-2016年7月16日-火币全国行·北京站-2016年8月13日-火币全国行·上海站从学会投资比特币开始实现自己的小目标~~~~~~~~~~~~~~~~快来报名快来报名的分割线~~~~~~~~~~~~~~~~~扫描二维码报名（成都站及全国各站）▼（扫我扫我扫我~↑↑↑↑↑）（戳我戳我戳我↓↓↓↓↓↓）https://jinshuju.net/f/orrvaT也许不出几年，来到活动现场的币友里，会多几位亿万富壕\(^o^)/~
         * author_info : {"mPostName":"9057","name":"火币","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/00/90/57_avatar_middle.jpg"}
         * category : {"name":"币Meet","threads":"223","posts":"2226","mPostName":"118","link":"/forum-118-1.html"}
         * activity : {"tid":41573,"uid":"9057","aid":"67798","cost":"0","starttimefrom":"1472882400","starttimeto":"","place":"四川省成都市高新区科华南路天久北巷南熙里商业中心D座402 淡颐会所","class":"聚会交流","gender":"0","number":"0","applynumber":"0","expiration":"2016-11-3 17:00","ufield":"a:2:{s:9:\"userfield\";a:2:{i:0;s:8:\"realname\";i:1;s:6:\"mobile\";}s:8:\"extfield\";a:0:{}}","credit":"0","guest":"","thumb":"http://8btc.com/data/attachment/forum/201611/02/170141fa5nnh2hzg1002r1.jpg","attachurl":"http://8btc.com/data/attachment/forum/201611/02/170141fa5nnh2hzg1002r1.jpg","width":"440"}
         */

        private int fid;
        private int tid;
        private String title;
        private String authorid;
        private String author;
        private String lastpost;
        private String lastposter;
        private String views;
        private String replies;
        private String displayorder;
        private String post_date;
        private String type;
        private String content;
        private AuthorInfoBean author_info;
        private CategoryBean category;
        private ActivityBean activity;

        protected ListBean(Parcel in) {
            fid = in.readInt();
            tid = in.readInt();
            title = in.readString();
            authorid = in.readString();
            author = in.readString();
            lastpost = in.readString();
            lastposter = in.readString();
            views = in.readString();
            replies = in.readString();
            displayorder = in.readString();
            post_date = in.readString();
            type = in.readString();
            content = in.readString();
        }

        public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
            @Override
            public ListBean createFromParcel(Parcel in) {
                return new ListBean(in);
            }

            @Override
            public ListBean[] newArray(int size) {
                return new ListBean[size];
            }
        };

        public int getFid() {
            return fid;
        }

        public void setFid(int fid) {
            this.fid = fid;
        }

        public int getTid() {
            return tid;
        }

        public void setTid(int tid) {
            this.tid = tid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getAuthorid() {
            return authorid;
        }

        public void setAuthorid(String authorid) {
            this.authorid = authorid;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public String getLastpost() {
            return lastpost;
        }

        public void setLastpost(String lastpost) {
            this.lastpost = lastpost;
        }

        public String getLastposter() {
            return lastposter;
        }

        public void setLastposter(String lastposter) {
            this.lastposter = lastposter;
        }

        public String getViews() {
            return views;
        }

        public void setViews(String views) {
            this.views = views;
        }

        public String getReplies() {
            return replies;
        }

        public void setReplies(String replies) {
            this.replies = replies;
        }

        public String getDisplayorder() {
            return displayorder;
        }

        public void setDisplayorder(String displayorder) {
            this.displayorder = displayorder;
        }

        public String getPost_date() {
            return post_date;
        }

        public void setPost_date(String post_date) {
            this.post_date = post_date;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public AuthorInfoBean getAuthor_info() {
            return author_info;
        }

        public void setAuthor_info(AuthorInfoBean author_info) {
            this.author_info = author_info;
        }

        public CategoryBean getCategory() {
            return category;
        }

        public void setCategory(CategoryBean category) {
            this.category = category;
        }

        public ActivityBean getActivity() {
            return activity;
        }

        public void setActivity(ActivityBean activity) {
            this.activity = activity;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel parcel, int i) {
            parcel.writeInt(fid);
            parcel.writeInt(tid);
            parcel.writeString(title);
            parcel.writeString(authorid);
            parcel.writeString(author);
            parcel.writeString(lastpost);
            parcel.writeString(lastposter);
            parcel.writeString(views);
            parcel.writeString(replies);
            parcel.writeString(displayorder);
            parcel.writeString(post_date);
            parcel.writeString(type);
            parcel.writeString(content);
        }

        public static class AuthorInfoBean implements Parcelable {
            /**
             * mPostName : 9057
             * name : 火币
             * desc :
             * avatar : http://8btc.com/uc_server/data/avatar/000/00/90/57_avatar_middle.jpg
             */

            private String id;
            private String name;
            private String desc;
            private String avatar;

            protected AuthorInfoBean(Parcel in) {
                id = in.readString();
                name = in.readString();
                desc = in.readString();
                avatar = in.readString();
            }

            public static final Creator<AuthorInfoBean> CREATOR = new Creator<AuthorInfoBean>() {
                @Override
                public AuthorInfoBean createFromParcel(Parcel in) {
                    return new AuthorInfoBean(in);
                }

                @Override
                public AuthorInfoBean[] newArray(int size) {
                    return new AuthorInfoBean[size];
                }
            };

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel parcel, int i) {
                parcel.writeString(id);
                parcel.writeString(name);
                parcel.writeString(desc);
                parcel.writeString(avatar);
            }
        }

        public static class CategoryBean {
            /**
             * name : 币Meet
             * threads : 223
             * posts : 2226
             * mPostName : 118
             * link : /forum-118-1.html
             */

            private String name;
            private String threads;
            private String posts;
            private String id;
            private String link;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getThreads() {
                return threads;
            }

            public void setThreads(String threads) {
                this.threads = threads;
            }

            public String getPosts() {
                return posts;
            }

            public void setPosts(String posts) {
                this.posts = posts;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }
        }

        public static class ActivityBean implements Parcelable{
            /**
             * tid : 41573
             * uid : 9057
             * aid : 67798
             * cost : 0
             * starttimefrom : 1472882400
             * starttimeto :
             * place : 四川省成都市高新区科华南路天久北巷南熙里商业中心D座402 淡颐会所
             * class : 聚会交流
             * gender : 0
             * number : 0
             * applynumber : 0
             * expiration : 2016-11-3 17:00
             * ufield : a:2:{s:9:"userfield";a:2:{i:0;s:8:"realname";i:1;s:6:"mobile";}s:8:"extfield";a:0:{}}
             * credit : 0
             * guest :
             * thumb : http://8btc.com/data/attachment/forum/201611/02/170141fa5nnh2hzg1002r1.jpg
             * attachurl : http://8btc.com/data/attachment/forum/201611/02/170141fa5nnh2hzg1002r1.jpg
             * width : 440
             */

            private int tid;
            private String uid;
            private String aid;
            private String cost;
            private String starttimefrom;
            private String starttimeto;
            private String place;
            private String classX;
            private String gender;
            private String number;
            private String applynumber;
            private String expiration;
            private String ufield;
            private String credit;
            private String guest;
            private String thumb;
            private String attachurl;
            private String width;

            protected ActivityBean(Parcel in) {
                tid = in.readInt();
                uid = in.readString();
                aid = in.readString();
                cost = in.readString();
                starttimefrom = in.readString();
                starttimeto = in.readString();
                place = in.readString();
                classX = in.readString();
                gender = in.readString();
                number = in.readString();
                applynumber = in.readString();
                expiration = in.readString();
                ufield = in.readString();
                credit = in.readString();
                guest = in.readString();
                thumb = in.readString();
                attachurl = in.readString();
                width = in.readString();
            }

            public static final Creator<ActivityBean> CREATOR = new Creator<ActivityBean>() {
                @Override
                public ActivityBean createFromParcel(Parcel in) {
                    return new ActivityBean(in);
                }

                @Override
                public ActivityBean[] newArray(int size) {
                    return new ActivityBean[size];
                }
            };

            public int getTid() {
                return tid;
            }

            public void setTid(int tid) {
                this.tid = tid;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getAid() {
                return aid;
            }

            public void setAid(String aid) {
                this.aid = aid;
            }

            public String getCost() {
                return cost;
            }

            public void setCost(String cost) {
                this.cost = cost;
            }

            public String getStarttimefrom() {
                return starttimefrom;
            }

            public void setStarttimefrom(String starttimefrom) {
                this.starttimefrom = starttimefrom;
            }

            public String getStarttimeto() {
                return starttimeto;
            }

            public void setStarttimeto(String starttimeto) {
                this.starttimeto = starttimeto;
            }

            public String getPlace() {
                return place;
            }

            public void setPlace(String place) {
                this.place = place;
            }

            public String getClassX() {
                return classX;
            }

            public void setClassX(String classX) {
                this.classX = classX;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getApplynumber() {
                return applynumber;
            }

            public void setApplynumber(String applynumber) {
                this.applynumber = applynumber;
            }

            public String getExpiration() {
                return expiration;
            }

            public void setExpiration(String expiration) {
                this.expiration = expiration;
            }

            public String getUfield() {
                return ufield;
            }

            public void setUfield(String ufield) {
                this.ufield = ufield;
            }

            public String getCredit() {
                return credit;
            }

            public void setCredit(String credit) {
                this.credit = credit;
            }

            public String getGuest() {
                return guest;
            }

            public void setGuest(String guest) {
                this.guest = guest;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getAttachurl() {
                return attachurl;
            }

            public void setAttachurl(String attachurl) {
                this.attachurl = attachurl;
            }

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel parcel, int i) {
                parcel.writeInt(tid);
                parcel.writeString(uid);
                parcel.writeString(aid);
                parcel.writeString(cost);
                parcel.writeString(starttimefrom);
                parcel.writeString(starttimeto);
                parcel.writeString(place);
                parcel.writeString(classX);
                parcel.writeString(gender);
                parcel.writeString(number);
                parcel.writeString(applynumber);
                parcel.writeString(expiration);
                parcel.writeString(ufield);
                parcel.writeString(credit);
                parcel.writeString(guest);
                parcel.writeString(thumb);
                parcel.writeString(attachurl);
                parcel.writeString(width);
            }
        }
    }
}
